package org.sanmao.wyj.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Date;

@Data
@AllArgsConstructor
public class Complain {
    @TableId
    private int cpId;
    private int oid;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;
    private int uid;
    private int wid;
    private String content;
    private int state;

    @TableField(exist = false)
    private String workerName;
    @TableField(exist = false)
    private String userName;
    @TableField(exist = false)
    private String userPhonenum;
    @TableField(exist = false)
    private String workerPhonenum;
    @TableField(exist = false)
    private String orderContent;
    @TableField(exist = false)
    private String orderTime;
    @TableField(exist = false)
    private String orderSlocaiton;
    @TableField(exist = false)
    private String orderElocation;
}
